package top.songxs.yygh.hosp.service;

import org.springframework.data.domain.Page;
import top.songxs.yygh.model.hosp.Schedule;
import top.songxs.yygh.vo.hosp.ScheduleOrderVo;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void saveSchedule(Map<String, String> map);

    Page<Schedule> showDepartments(Map<String, String> map);

    Map<String,Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    void remove(Map<String, String> map);

    Map<String, Object> getScheduleRoules(Integer pageNum, Integer pageSize, String hoscode, String depcode);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);


    Schedule getScheduleById(String id);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);



    void update(Schedule schedule);
}
